﻿using System;

namespace NxtSofor
{
    interface ILegoDriver
    {
        bool Connect();
        void Disconnect();
        void SetMotors(string leftMotorPort, 
            string rightMotorPort, 
            int leftMotor, 
            int rightMotor,
            int motorTurnRatio,
            int motorTachoLimit);
        bool GetInformation(out string deviceName, 
            out byte[] btAddress,  
            out int flashMemory,
            out int batteryLevel);
        bool SetDeviceName(string deviceName);
    }
}
